<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="box">box</div>
  </body>
  <script src="jquery.test.js"></script>
  <script src="./jquery.js"></script>
  <script>
    // jQuery.noConflict()  //解决冲突 (解绑jQuery对$的引用)
    // console.log($.getEl("box")); .
    // jQuery("#box").css("color","red")

    var jq = jQuery.noConflict(true)  //深度让渡  ($和jQuery都不能使用)
    console.log($.getEl("box"));
    jq("#box").css("color","red")
  </script>
</html>
